package com.landmesure.settings.fragment.adpter;

/**
 * 储存列表名称，及是否可以展开
 */
public class ListInfo {
    private String itemName;    //条目名称
    private boolean isExpand;    //条目是否可扩展
    private boolean isExpanded;    //条目是否已经扩展
    private int level;    //条目所处目录的级别

    public ListInfo(String listName, boolean isExpand, int level) {
        this.itemName = listName;
        this.isExpand = isExpand;
        this.level = level;
    }

    public void setExpanded(boolean expanDed) {
        isExpanded = expanDed;
    }

    public boolean getExpanded() {
        return isExpanded;
    }

    public String getItemName() {
        return itemName;
    }

    public boolean isExpand() {
        return isExpand;
    }

    public int getLevel() {
        return level;
    }
}
